package pile.customer.service;

import pile.customer.entity.SettingWechat;
import com.baomidou.mybatisplus.extension.service.IService;
import pile.customer.entity.ResponseResult;
import pile.customer.params.settingWechat.DeleDTO;
import pile.customer.params.settingWechat.ListDTO;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郭天义
 * @since 2024-07-09
 */
public interface ISettingWechatService extends IService<SettingWechat> {

  ResponseResult listPage(ListDTO listDTO);

  ResponseResult dele(DeleDTO deleDTO);

  ResponseResult add(SettingWechat settingWechat);

  ResponseResult info(Integer settingWechatId);

  ResponseResult edit(SettingWechat settingWechat);

  /**
   * 获取小程序的 appid 和secret
   * @param channel
   * @return
   */
    SettingWechat selectByMiniChannel(Integer channel);
}
